package cn.initcap.designpattern.pattern.structural.bridge;

/**
 * @author initcap
 * @date 2018/8/28 AM9:12
 */
public abstract class BaseBank {

    protected Account account;

    public BaseBank(Account account) {
        this.account = account;
    }

    /**
     * 打开账号
     *
     * @return 账号
     */
    abstract Account openAccount();

}
